package models

type AdConfig struct {
	ID    string `json:"id" gorm:"column:id;primaryKey;type:int;size:64;comment:主键"`
	Name  string `json:"name" gorm:"column:name;type:varchar(200);comment:Name"`
	Value string `json:"value" gorm:"column:value;type:varchar(200);comment:Value"`
}

func (AdConfig) TableName() string {
	return "ad_config"
}

// 模式自动注册
func init() {
	Models = append(Models, &AdConfig{})
}
